|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.Action
org.eclipse.ui.actions.NewWizardAction
Invoke the resource creation wizard selection Wizard.
This class may be instantiated; it is not intended to be subclassed.
This method automatically registers listeners so that it can keep its
enablement state up to date. Ordinarily, the window's references to these
listeners will be dropped automatically when the window closes. However,
if the client needs to get rid of an action while the window is still open,
the client must call dispose
to give the
action an opportunity to deregister its listeners and to perform any other
cleanup.
Field Summary |
Fields inherited from interface org.eclipse.jface.action.IAction |
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, IMAGE, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
NewWizardAction()
Deprecated. use the constructor NewWizardAction(IWorkbenchWindow) |
|
NewWizardAction(IWorkbenchWindow window)
Create a new instance of this class. |
Method Summary | |
void |
dispose()
Disposes of this action. |
String |
getCategoryId()
Returns the id of the category of wizards to show or null to show all categories. |
void |
run()
Runs this action. |
void |
setCategoryId(String id)
Sets the id of the category of wizards to show or null to show all categories. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.action.IAction |
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Constructor Detail |
public NewWizardAction(IWorkbenchWindow window)
public NewWizardAction()
NewWizardAction(IWorkbenchWindow)
Method Detail |
public String getCategoryId()
null
to show all categories.
public void setCategoryId(String id)
null
to show all categories.
public void run()
IAction
Action
does nothing.
run
in interface IAction
run
in class Action
public void dispose()
ActionFactory.IWorkbenchAction
dispose
in interface ActionFactory.IWorkbenchAction
|
Eclipse Platform Pre-release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |